home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
gu11.zip
/
BKUP.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-12-12
|
920b
|
42 lines
echo off
rem BKUP.BAT - Copy all changed files
rem Written by Dave Grund, December 12, 1989
echo Copying all changed files for backup
echo
╔══════════════════════════════════════╗
echo ║ Put the
ChkVol directory
backup disk ║
echo ║ in
drive A
║
echo ╚══════════════════════════════════════╝
Pause
ChkVol A ChkVol10 > NUL
If errorlevel 5 goto RC5
If errorlevel 4 goto RC4
If errorlevel 3 goto RC3
If errorlevel 2 goto RC2
If errorlevel 1 goto RC1
Erase \Develop\ChkVol\*.Bak
attrib -a *.tpu
XCopy \Develop\ChkVol\*.* A: /M
Edir A:
goto endit
:RC1
Echo Volume IDs do not match!
goto endit
:RC2
Echo No Volume ID on backup disk!
goto endit
:RC3
Echo Cannot read diskette!
goto endit
:RC4
Echo Invalid command line parameters!
goto endit
:RC5
Echo Not enough command line parameters!
goto endit
:Endit